|
204 | 204 |
|
205 | 205 | 00:06:49 Honestly, I've never heard a bad thing about FastAPI, and people are really enjoying it. |
206 | 206 |
|
207 | | -00:06:54 And then here comes Samuel just changing the foundation, changing up Finante. |
| 207 | +00:06:54 And then here comes Samuel just changing the foundation, changing up Pydantic. |
208 | 208 |
|
209 | 209 | 00:06:59 - Taking FastAPI. |
210 | 210 |
|
|
312 | 312 |
|
313 | 313 | 00:11:07 Can we work with you to smooth this over? |
314 | 314 |
|
315 | | -00:11:09 you know, worst case, pin it, be, you know, equal, equal, Pydantic equal, equal, 1.10. |
| 315 | +00:11:09 you know, worst case, init, be, you know, equal, equal, Pydantic equal, equal, 1.10. |
316 | 316 |
|
317 | 317 | 00:11:14 - I think we'll carry on supporting critical security fixes for a year. |
318 | 318 |
|
|
360 | 360 |
|
361 | 361 | 00:13:33 Like what's the story for you guys? |
362 | 362 |
|
363 | | -00:13:35 - So like, - Pedantic wise. |
| 363 | +00:13:35 - So like, - Pydantic wise. |
364 | 364 |
|
365 | 365 | 00:13:37 - Yeah, yeah. |
366 | 366 |
|
|
530 | 530 |
|
531 | 531 | 00:20:38 And for that, I needed to A, extract some attributes from nested fields and B, parse dates and things like that. |
532 | 532 |
|
533 | | -00:20:44 And I use Pylantic v2. |
| 533 | +00:20:44 And I use Pydantic v2. |
534 | 534 |
|
535 | 535 | 00:20:45 And like, it was vastly faster with v2. |
536 | 536 |
|
|
554 | 554 |
|
555 | 555 | 00:21:14 And because of the new ways that Pydantic can handle the data, we're gonna be able to, there's something that needs to be done in FastAPI, but we're gonna be able to let the parsing of the data, let Pydantic handle that in the Rust side. |
556 | 556 |
|
557 | | -00:21:28 So Pydantic will be able to just read the JSON bytes instead of reading them in the Python side and let Pydantic do that, and then Pydantic give the models back to the rest of the code of FastEPA. |
| 557 | +00:21:28 So Pydantic will be able to just read the JSON bytes instead of reading them in the Python side and let Pydantic do that, and then Pydantic give the models back to the rest of the code of FastAPI. |
558 | 558 |
|
559 | 559 | 00:21:39 That alone will boost performance a lot, but the fact that it's being done in Rust, in the Rust side, it's just gonna be amazing. |
560 | 560 |
|
|
574 | 574 |
|
575 | 575 | 00:22:43 >> Maybe even some of these crazy stream buffer protocols. |
576 | 576 |
|
577 | | -00:22:47 >> Yeah, like protocol buffers with gRPC or even message pack or a bunch of these things that There's no obvious way and there's no native way to have support for that, for reading the data and for exporting the data. |
| 577 | +00:22:47 >> Yeah, like protocol buffers with crazy stream buffer or even message pack or a bunch of these things that There's no obvious way and there's no native way to have support for that, for reading the data and for exporting the data. |
578 | 578 |
|
579 | 579 | 00:23:00 And that's one of the things that I have in plans. |
580 | 580 |
|
|
634 | 634 |
|
635 | 635 | 00:25:04 So you, you're kind of putting. |
636 | 636 |
|
637 | | -00:25:05 Hydanek in both those layers. |
| 637 | +00:25:05 Pydantic in both those layers. |
638 | 638 |
|
639 | 639 | 00:25:08 And so those speed ups are like twice as good or something like that. |
640 | 640 |
|
|
686 | 686 |
|
687 | 687 | 00:26:44 So, dear listener, let me ask you a question. |
688 | 688 |
|
689 | | -00:26:46 how would boundless cardinality and lightning fast SQL queries impact the way that you develop real-time applications? InfluxDB processes large time series data sets and provides low latency SQL queries, making it the go-to choice for developers building real-time applications and seeking crucial insights. For developer efficiency, InfluxDB helps you create IoT, analytics, and cloud applications using time-stamped data rapidly and at scale. It's It's designed to ingest billions of data points in real time with unlimited cardinality. |
| 689 | +00:26:46 how would boundless cardinality and lightning fast SQL queries impact the way that you develop real-time applications? InfluxDB processes large time series data sets and provides low latency SQL queries, making it the go-to choice for developers building real-time applications and seeking crucial insights. For developer efficiency, InfluxDB helps you create IoT, analytics, and cloud applications using time-stamped data rapidly and at scale. It's designed to ingest billions of data points in real time with unlimited cardinality. |
690 | 690 |
|
691 | 691 | 00:27:19 InfluxDB streamlines building once and deploying across various products and environments from the edge on premise and to the cloud. |
692 | 692 |
|
|
862 | 862 |
|
863 | 863 | 00:33:42 I think it's something that will probably be improvable, but I think there's currently no way. |
864 | 864 |
|
865 | | -00:33:46 There will probably be a way at some point, but to be able to say, hey, this equal alchemy column is a column when it's accessed at the class level, but this is gonna be a string when it's accessed at the instance level. |
| 865 | +00:33:46 There will probably be a way at some point, but to be able to say, hey, this SQLalchemy column is a column when it's accessed at the class level, but this is gonna be a string when it's accessed at the instance level. |
866 | 866 |
|
867 | 867 | 00:33:58 - A scope level in the annotated, you know. |
868 | 868 |
|
|
884 | 884 |
|
885 | 885 | 00:34:54 They might not want to do it themselves, but they get that it's a legitimate thing to do. |
886 | 886 |
|
887 | | -00:34:58 - How much pushback was there when you first came out with PyTandric there? |
| 887 | +00:34:58 - How much pushback was there when you first came out with Pydantic there? |
888 | 888 |
|
889 | 889 | 00:35:01 - I think we were like the black sheep of Python. |
890 | 890 |
|
|
924 | 924 |
|
925 | 925 | 00:36:30 I won't go into all of the details of it, but yeah, we would... |
926 | 926 |
|
927 | | -00:36:33 The high-level takeaway is that the typing community seemed happy with the idea that they might make a change to typing to make it easier for us. |
| 927 | +00:36:33 The high-level takeaway is that the typing community seemed happy with the idea that they might make a change to typhint to make it easier for us. |
928 | 928 |
|
929 | 929 | 00:36:41 And I think that's also for the Pydantic team to engage better. |
930 | 930 |
|
|
1098 | 1098 |
|
1099 | 1099 | 00:44:30 Yes, it's a fundamental change to the language. |
1100 | 1100 |
|
1101 | | -00:44:32 Yes, it makes the syntax or function look a bit more like Rust or something, but if you look at it independently of our experience, it's a heck of a lot more elegant than importing Typefra. |
| 1101 | +00:44:32 Yes, it makes the syntax or function look a bit more like Rust or something, but if you look at it independently of our experience, it's a heck of a lot more elegant than importing Typefor. |
1102 | 1102 |
|
1103 | 1103 | 00:44:43 - Yeah, yeah. |
1104 | 1104 |
|
|
1311 | 1311 | 00:49:47 (upbeat music) |
1312 | 1312 |
|
1313 | 1313 | 00:49:50 [Music] |
1314 | | - |
0 commit comments