- Podcasts
- Talk Python To Me
- #420: Database Consistency & Isolation for Python Devs
#420: Database Consistency & Isolation for Python Devs
Talk Python To Me
- June 26, 2023
- 56 min
- Episode 420
About this episodeSee the full show notes for this episode on the website at talkpython.fm/420
Transcript
From the publisherThis transcript comes from the podcast’s own feed, shown as the publisher wrote it.
#420: Database Consistency & Isolation for Python Devs
When you use a SQL database like Postgres, you have to understand the subtleties of isolation levels from read committed to serializable. And distributed databases such as MongoDB offer a range of consistency levels from eventually consistent to linearizable and many options in between. Plus, it's easy enough to confuse isolation with consistency. To break it all down for us, we have A. Jesse Giroud-Davis from MongoDB back on the podcast. This is Talk Python To Me, episode 420, recorded June 7th, 2023.
Be careful with impersonating accounts on other instances. There are many. Keep up with the show and listen to over seven years of past episodes at talkpython.fm. We've started streaming most of our episodes live on YouTube. Subscribe to our YouTube channel over at talkpython.fm/youtube to get notified about upcoming shows and be part of that episode. This episode is sponsored by Sentry. Don't let those errors go unnoticed. Use Sentry. Get started today at talkpython.fm slash Sentry. And it's brought to you by InfluxDB. InfluxDB is a database purpose built for handling
Thanks a lot. Yeah. It has been a little while since you were on the show. You were the second guest ever. How about that? How cool is that? That's really cool. I knew it was a while ago. I think it was 2015. And we were talking about Python and MongoDB, which is a natural subject, but I didn't know it was so early in your career. Yeah, it was. You really helped launch the podcast. So thanks for that. And then you also did a really popular episode about writing an excellent programming blog. And we talked about fun things like design patterns of writing for technical writing. That was
really well received. So yeah, excellent to have you back. We're going to make it a little bit more modern than just, you know, five, six years ago, whatever that was. Cool. So what have you been up to? Give us maybe a quick intro for people who don't know you and catch up on what you've been up to since then. You and I met because when I joined MongoDB around 2011, I was the Python evangelist, which is still my favorite job title of all time. I'm still at MongoDB. And I've been doing various sorts of engineering the whole time. I switched over to doing C and C++ and moved from doing Python
client library work. I had been working on PyMongo to working on the core MongoDB server and helped develop the first version of serverless MongoDB, which is pay as you go. And now I'm a researcher with MongoDB Labs, which is our tiny little research organization. And I'm looking at new products, cutting edge techniques that we might want to adopt at MongoDB. All of those things sound super awesome.
Maybe take them in order if I remember them right. So you worked on PyMongo, which is if people use MongoDB at all, they basically either use PyMongo or Motor, right? And did you also work on Motor? You did, right? Yeah, I invented Motor and came up with the cute name. At the time, Tornado was one of the major asynchronous Python servers. Very ahead of its time in that sense. There's way before async and await and asyncio and all those things. Yeah, that's right. It was extremely influential. And I wanted PyMongo to
And it's still maintained, but not by me. And it's a good choice. If you want that asynchronous API, it now supports async and await. And it now works with asyncio as well as Tornado. So if you have some reason for wanting to do async Python already, and then you want to connect to MongoDB without fear of blocking your application, then Motor is the driver of choice.
Yeah, absolutely. And much like if you're using, if you're doing synchronous MongoDB stuff in Python, chances are using PyMongo. If you're doing async stuff, you're probably using Motor. For example, the website you're looking at here is backed by MongoDB. That is Talk Python. And it uses Beanie, which does basically Pydantic and async and await plus MongoDB. But the way you work with it is you create a motor connection, motor client and hand it off to the underlying framework. So really, it's still using your code. That's cool.
That's neat. Yeah. Pretty neat. So I imagine those are two really different worlds, building client libraries to talk to some semi-black box type of system, like I send requests over the API to Mongo and it does its thing and I get a response to switching and being inside that box. Maybe contrast those two worlds, because I think they're probably pretty different.
Yeah. The problem spaces are practically disjoint. When I was working on MongoDB drivers, I had a great deal of concern for making the API usable by application developers. A lot of my time was spent figuring out how to make a consistent experience for people who were using MongoDB from Python and also from JavaScript or C or PHP. These are completely different kinds of languages, but you need as much consistency as possible while still respecting the style of the language itself.
So that was a great deal more complexity than I'd ever confronted before. And it's probably really super polished and had every little change probably has, you know, many, many knock on effects that you've got to carefully think about. And you're like, ah, do we really need to check for that? Would this ever happen? Or can we reorder those bytes? Probably it's fine.
There's a lot of hidden complexity that people who've been working on the server code base longer than I kept pointing out to me. Like, no, you can't just change this data structure. You have to take the following six locks before you can even think about touching that. Then interactions among the servers in a replica set or a sharded cluster are literally exponentially complex.
Yeah. I had coded C++ right out of college. I thought I was going to be a 3D graphics guy working for Pixar, which never happened, but I had known C++ once upon a time. But C++ in the nineties is a completely different language from modern C++. So I had a lot of catching up to do. On the other hand, I really enjoyed the fact that you can make it a lot of catching up to do.
Yeah. I think the story with Python performance is interesting. A lot of times it's plenty fast for what people need to do. But if you're building a server, like a high-end database server, you know, those microseconds count. And, you know, that's a different world, right? It's a different trade-off. Trading somewhat developer speed for performance and code speed.
Although I do think we're getting, you know, some proper attention on Python speed in the last couple of years and will for the next couple as well. With, you know, the faster CPython initiative and 3.10, 3.11, 3.12, all that stuff. But it's still, even the fast versions of those are not, you know, C++ type of speed.
Exactly. You can just have fun with it. Yeah. Excellent. All right. Well, let's talk a little bit about databases in the broad sense, and then we can dive into the core ideas that I invited you here, which I guess is worth pointing out. The reason I knew about this and reached out to you was you gave a talk at PyCon 2023.
And I also learned a lot after being a C++ programmer and going to PyCon and being not sure what I was doing at PyCon anymore. This year, I came as a researcher. And so, the areas of my interests are essentially everything. And so, I went to a bunch of talks and learned a bunch of stuff and renewed my love for being at PyCon.
And I kind of think that most of the approaches are bad. You can read the fundamental papers and you probably should, but reading the original papers is a very hard way to learn something. And they tend to be too concise and too abstract and not very well digested. And then maybe if I'd taken that database's elective in college and read the textbook, I would be in better shape, but I didn't. And then I joined a database company and I had to learn it on the job. So, I came up with a few ways of thinking about
Yeah. Relational databases, which are made of tables of rows and columns, and you almost always query them with SQL, which is standardized, although every database has its own extensions, came to really dominate in the '90s. And they are great for a lot of reasons. And I think everybody should know how to use them. But, you know, around the time that I joined MongoDB in 2011, something was happening, which is that the scale of data came to the point where you needed specialized approaches. And then another thing that was going on was that, sort of funny enough,
Yeah, that is funny, but that did happen. Yeah. Because relational, I mean, a relation is sort of the object opposite of an object. Object-oriented programs are quite hierarchical and fairly flexible and relations are not hierarchical and extremely inflexible. So, we call that the impedance mismatch. I don't know if that's actually a helpful term.
One of them is that NoSQL databases tend to be distributed. So, before I came to MongoDB, I was working with an Oracle database. And as load increased, we just needed to buy a bigger and bigger single box until, you know, we had like a million dollar refrigerator-sized thing, which must never ever go down.
Much more cloud-friendly. Much more cloud-friendly. It's not only a good way to scale your CPU and RAM, but it's also a good way to ensure reliability and geo distribution. So, we took advantage of all that. We kind of built in the distributed nature of it quite early. And a lot of the other NoSQL databases did as well.
Yeah. Okay. So I think that sets the stage for a lot of what we're talking about. You know, what ones for, in terms of consistency and isolation, this applies to relational document, probably not key value stores. I don't know about graph databases at all in terms of these, which ones of these are kind of relevant to the main topic here?
So even on a single machine, a database can run concurrent operations. So you could have two transactions that are going on at once and their operations may be in some way interleaved. And if the database allows concurrency like this on a single machine, then that can reveal phenomena that you would not observe if concurrency were not allowed. And these phenomena are called anomalies. These terms, phenomena and anomalies go all the way back to these, maybe to the 1970s database theory. There's nothing
specific to relational or non-relational data to the SQL language or any other query language. So long as the database allows concurrency, then anomalies are possible. And so the database may choose to provide isolation levels to you. There are four isolation levels that people have probably heard of that are in the SQL standard. And so obviously they've got that connection to the relational model and the SQL language.
What are the four isolation levels? At least the SQL standard ones. Right. So there's read uncommitted, which is anything goes. YOLO. YOLO. Every operation that one transaction does is immediately visible to all the others or may be visible to all the others, even if the transaction doesn't, hasn't committed yet, even if it aborts later. Right. And so the concurrency is nakedly displayed to all of the clients.
Basically, you don't see this in practice. Read committed is what people are much more accustomed to, where your transaction as it's going along may see the data change as other transactions commit, but then its own writes are only visible to other transactions all in one instant at the moment that your transaction commits. But of course, you could read the same value multiple times in a row and get different answers because other transactions are allowed to commit and modify it as you go.
But read committed, how common do you think that is? Read committed is quite prominent. It's the default for a number of the SQL databases. I don't remember which exactly, but people can live with it pretty happily. And to be honest, MagoDB's default is read uncommitted. If you write to the primary, other clients can see those rights immediately. There's no transaction by default. After all, you have to opt into transactions on MagoDB.
Yeah, that's exactly right. And the document model does make it much more practical to do things without transactions because you can keep related data all together in a single document and update it in one statement. Yeah. Whereas the relational model tends to kind of spray your data around and make it much more difficult to maintain whatever application invariance you want because you have to modify multiple rows at the same time. Yeah, multiple rows, multiple tables. Like there could be a many-to-many relationship that you're
InfluxDB processes large time series datasets 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.
For the rest of that transaction. Okay, interesting. Yeah, you did say that MongoDB typically doesn't have transactions as it's kind of recommended default way, you know, look at a lot of the tutorials and stuff. People are just making updates and so on. But this is didn't come out originally with MongoDB, but at some point, what version did you all add transactions? Like actual transactions?
MongoDB in general has taken a more kind of show our guts to you approach where we, early on the distributed nature of MongoDB, which was much more visible to our users than other databases and transactions. Now we kind of show you the details a bit more than other databases do, but that actually allows you to write more reliable code. The interesting thing about an SQL interface is that you can start a transaction, do a bunch of writes, and then send the commit message. And if you get some sort of error, like a network error, perhaps you got disconnected or the server crashed, you don't
But that's what you're trying to do. And most people aren't aware of it. The MongoDB transaction API makes you think about this. The drivers essentially have you pass a function in, which executes the transaction code, and that it's automatically retried if the commit fails. And so we give you the mechanism to ensure reliable transaction commits.
Exactly. Yeah. Yeah. Okay. Interesting. Let's look at two aspects here. One of the things is you spoke about anomalies and what might go wrong. The read uncommitted, I think people can probably conceptualize that pretty well. Right? It's just as multi-step transactions are happening, other ones are potentially running. And you could read something. Either that transaction could roll back after you've carried on, or you could have just, you know, had some
The equivalent of a race condition. Right? Right. Right. Right. So, is there a, there's a term for that kind of anomaly, right? Each of these anomalies have terms I've learned. And you can definitely memorize them. And if you go to Jepson.io, there's a lovely diagram of the relationship among all of the consistency and isolation levels. G-Y-P-S-U-M? That is J-E-P-S-E-N.io. Ah. Yeah. This is a researcher named Kyle Kingsbury, his website about consistency and isolation and testing. This is the best place, I think, to go learn about this stuff. Yeah. There's a lot of cool visualizations and stuff here. Yeah. For those watching on the live stream, we've got a tree diagram up that shows all of the isolation levels, all of the consistency levels that are commonly used, and how they relate to each other in terms of how, let's say, the serializable isolation is strictly stronger than read committed. Mm-hmm. Every anomaly that is prohibited by serializable is also prohibited by read committed. Got it. Maybe help us understand the read committed anomalies versus, like the read uncommitted one is, like, it's full of them. But maybe help us understand some of the things that can go wrong in the safer ones. Like trying to decide between read committed and serializable, for example. Right. This was also my approach when I first started learning. Right. This was also my approach when I first started learning. Was to try to memorize these things. Hmm. The reason why I'm not answering your question is that I don't think that this is the right approach. What would you suggest? I think the right approach is to step back and ask, why do anomalies exist? And the answer is, I've come to understand it, is that databases want to permit more concurrency so that you can get higher throughput with multiple transactions at once. But you've got to sacrifice something for that. What you've got to sacrifice is isolation. Some of these anomalies have to appear. And so why is that? Why do you have to make that trade-off? Well, the short answer is that databases prevent anomalies by in some way locking pieces of data to prevent one transaction from modifying or even reading it if another transaction has modified or read it. And so the more things you lock, the less concurrency is permitted. And if you want to understand that in detail for each of the isolation levels and each of the anomalies, you could watch the video of my PyCon talk, which... Yeah. ... goes through like 20 or 30 line long Python implementations of databases that provide each of these isolation levels. So you can see why they need different amounts of locking. You can see why they permit different levels of concurrency. And you could start to get a feel for what amount of concurrency each of them permits and also what sort of anomalies each of them permits. And with that in mind, for me at least, thinking about how these things are actually implemented gave me a much... made it much easier for me to then memorize. Sure. Read committed provides phantom reads. Why is that? What does that mean? Now I understand that because I understand how the... how an implementation might work. I think that makes a lot of sense. And that really is the relationship that people should understand, right? That there's an inverse relationship between... ... sort of the data consistency and the lack of these anomalies and how much you can handle scale and concurrency. Right. Right. Right. The stricter, the more consistent the data is, the less scale that you get. Right. And so where... where do you live? Can you get to points where the database actually like locks up and kind of a deadlock situation? And I show one of those in my PyCon talk, the serializable level of isolation is particularly prone to this. Basically if... and I do this all with Star Trek memes. So I show an example where Sulu reads one piece of data and something which... they're fighting over who gets to check out the shuttle to go to surface for shore leave. And Sulu reads one piece of data. And Sulu checks if Uhura has the shuttle and he sees no. But then Uhura starts a transaction and checks if Sulu has the shuttle. The answer is also no. So each of them tries to then check out the shuttle. But since they have each locked the row that the other needs to modify, they then deadlock. This then gets into fancy old database theory of deadlock detection and resolution, which is the subject of many textbooks. But essentially you're probably going to block for some period of time. And then a deadlock detector will come along and abort one of the transactions to allow the other to continue. Right. Making your code more complex, harder to work with. Right. And now your code needs to be able to handle this situation. If you are aborted due to deadlock, should you retry that transaction or not? That's now something that the developer needs to make a decision about. Okay. So all of this that we've discussed so far has to do with one or more database servers that just... the requirement is that it allows concurrent queries and updates and all that. On the other side, we might have... Some kind of distributed topology with... In MongoDB case, we have both replication and sharding, which may be worth touching on those things. But in a lot of scale out situations, you know, you have some sort of data spread around some kind of distributed database or even you'll see like geo replicated databases. You know, I want to have my data replicated in Asia and the US so that we can run our server side code near... Data for those different users, right? Right. Right. That's the consistency, not the isolation side of your talk, right? That's right. So to review, isolation is a response to anomalies caused by concurrency on one machine. And then... Consistency is a response to anomalies that are due to replication in a distributed database. So the distributed database, you always write to one of the nodes or you read from one of the nodes. For any particular operation. And there are different rules about, is there only one leader that can take writes or can any node take writes? Is there... Can you only read from the leader? Can you read from any node? Can you only read from some of the nodes? But no matter what database you're using, you always read or write to some nodes and then they replicate writes to other nodes. And so there's always a lag because that replication takes time. The most obvious example is if you write to the leader and then immediately read from the follower, the data that you just wrote may or may not be there yet. So that's the source of inconsistencies. And those inconsistencies are called anomalies as well. And then there are multiple isolation levels, sorry, consistency levels, which allow or prevent various of those. This is not standardized, by the way. So here you're going to see different terms. And then even more upsetting, you'll see some of the same terms. You'll see some of the same terms, but they mean different things depending on which database documentation you're using or which paper you're reading. So I talked about three levels of eventual consistency, causal consistency, and linearizability in my talk, which I think is kind of a good sample. But this area of computer science is a lot less paved than isolation is. Yeah, I agree with that. And it also seems to me like it really matters for the particular database server that you're using, what its flavor of distributed means. Yeah. Right? Like my understanding from MongoDB is replication is largely about reliability, failover, uptime, but the possibility of reading from a replica for some read scaling. Exactly. Whereas you might, you might have another one kind of with the example that I talked about with like, we want our data located in multiple geographies. And all of them are kind of the local database for those, those areas. And so the types of issues you run into, as well as the words you use, they probably vary somewhat, right? Because you're kind of solving different problems. Mm hmm. Well, we both know the MongoDB one pretty well. So maybe give us the story on like a replica set, which is, I'll let you talk about it. Yeah. What's the motivation of a replica set and what are the challenges and different modes there? 90%, 95% of people use MongoDB deploy it as a three node replica set. And 90 to 95% of the time, as you said, their goal is failover. That if the primary goes down, they want a very different way. That if the primary goes down, they want a very recent hot copy of their data available in a secondary, which will be promoted to primary as quickly as possible. And if you're writing to and reading from the primary, somewhat surprisingly, you can still see anomalies because there could be a failover in between the time that you wrote to the primary and the time that you do that read. You might be reading from a different member, which didn't get the copy. And so we've changed the default in the last few years, I think, to make every write weight to be replicated to a majority of the members. So that, and then we've got a protocol that ensures that whoever becomes primary after a failover, therefore is guaranteed to have that data. So you were with that setup, you're pretty well protected from anomalies. I'm sure that pedants and stress testers have found exceptions to this. I'm not going to make any promises. Yeah. Maybe if your right to the primary is the thing that takes it down potentially, you know, something really, really instantaneous almost. There are always edge cases. Yeah. Potentially. Yeah. Okay. The real inconsistencies that you start to see is if you do secondary reads. So if you read from a follower, that can be useful because you're shifting load from the primary or maybe the follower is located at a lower latency location on earth to you, but it's always going to have some degree of lag compared to the primary. So by default, you're going to get what we call eventually eventual consistency. Any right that occurs on the primary that gets acknowledged by a majority of the members will eventually be replicated to all of the members. So all of the members will pass through the same series of states as the primary does. Okay. At least the same set of states that the primary got majority acknowledgement of to be extremely technical. But if you read from the primary and then a secondary and then a different secondary, you'll feel like you're doing a lot of jumping around in time because you'll always be reading a different version of the data and some of those versions will be older than the last version that you saw. In MongoDB, in order to make that happen, you've got to pass extra flags opting into this read from secondary thing, right? And you're in the driver. Yes, that's right. We call that read preference and there are a bunch of options, but the default is just to read from the primary and not see a lot of consistent inconsistencies. So you mentioned a couple of this is the eventual eventual consistency issue. What are some of the other consistencies that you talked about? There's causal consistency, which I think is quite nice. You can get it in MongoDB by using the sessions API and causal consistency ensures that every right that you do and everything affected by that right, you will be able to read its consequences. And here again, I think talking about the implementation really makes things a lot clearer than talking about like the abstract mathematical definition. Of course, yeah. So here's the way MongoDB does it. You connect a client, you do an update. The primary applies the update, sends it to, waits for a majority of members to acknowledge it. And then the primary also increments a counter. So let's say that counter is now has the value four. And so replies to the client and says your update succeeded and the counter values now for now you can read from a secondary. You can say I want to read some value, but don't reply until your counter is at least for now in the background. Secondaries are replicating from the primary. And they're also replicating the primary counter value. And so only when they get to the number four or past, do they reply to your query. And they're also guaranteed at that point to have applied to that update that you just sent to the primary. Yeah, that's a really cool solution. You know, the one of the problems, if you're allowed to read from secondaries is imagine you're going to create a new account, let's say on a website. Go in there and say, here's my information. Yes, my password has a lowercase and uppercase and a special number and you know, whatever, right? Say create it inserts it into the primary response redirects back to the server and says, great, you're on your account page. Let me just pull back from the database who you are to show your details on the page. And if you know that's basically instant right at the bit down to ping time to the server and you could potentially end up in a situation where you've just created an account, but then you hit a replica that has yet to receive that. So what you're saying is if we use this concept of sessions, we'll get some kind of point in time marker that we're going to wait until just MongoDB, DB behind the scenes will basically block and say, we're still waiting on that answer. Hold on for who it is until that replica makes that point in time or further. Exactly. Okay. That's excellent. Question from the audience from Marwan says, how do you keep the counter store consistent? If you need to replicate it across regions? The counter at any given moment in time, we'll have different values on different replicas, but that's actually its purpose is that it represents how caught up each of the members is on their shared sequence of operations. Once you have replicated a given operation, you've also updated your counter value to the counter value that the primary had when it did that operation. And so you're now consistent, but the primary may be ahead of that as well. Like there's never any absolute truth. There's only a sequence of operations in your position in it. I think another important piece of information here is that you're writing to the leader. The leader always knows what its point in time number is and it can increment that. That's right. Right. And so that thing's always going to be consistent and auto incrementing forward. It's just a matter of how caught up are the replicas, right? Exactly. And if you want the MongoDB terms for these, that sequence of operations is the op log and that counter is the op time. Yeah. And that's basically that op log. That's the thing that's gets pushed to the replicas and is copied as it goes. Yeah, exactly. Which brings us a little bit back full circle to your talking about like these time series stream data. It's kind of like replicating across these clusters. Yeah, that's right. The op log is a little bit back full circle to your talking about like these time series stream data. It's kind of like replicating across these clusters. Yeah, that's right. The op log is a little bit back full circle to your talking about like these time series stream data. It's kind of like replicating across these clusters. Yeah, that's right. The op log is the original streaming data at MongoDB and people have done all sorts of hacks on top of it. And we're making that kind of mechanism more and more general. Interesting. So you can do all sorts of different things with streams of operations. What should we throw in here before we call it? We can mention the final consistency level, which is called linearizability. And it's pretty easy to understand. If you do an operation and then You try to read the results of what you just did from any member, you are guaranteed to see that result. It's pretty much the strictest level of consistency, but it's also quite expensive and slow. So MongoDB does provide this, but it requires a lot of machination behind the scenes. So don't use it unless you need to. But if you do need it for something like if you're updating users password, where you want to make sure that you're going to be able to update your password. To make sure that every attempt to read that password will always get the freshest copy, then linearizability is the consistency level to use. Excellent. Yeah, they all sound pretty straightforward, but the consequences of choosing these different levels and then what that means for how you write code around those systems is pretty complex. And it also just this whole conversation has made me appreciate how much databases serve as the actual conclusion. Concurrency coordinators of modern applications. That is a great point. Yeah. I mean, you can write web apps or APIs or queues and just kind of almost forget that concurrency is happening and you just talk to the database and how come, you know, how can you forget that? Because it falls upon the database to like keep this stuff hanging together. Yep. Cool. Yeah. In the show notes or wherever we should drop a link to a blog post that I wrote, which has a link to lots of papers and other places where you can learn more because this is a very hard topic. To learn, especially from a podcast or a conference talk, you need to read multiple times, maybe make flashcards. But I think this way of talking about things where we think of, okay, isolation is a way of hiding the consequences of concurrency and consistency is a way of hiding the consequences of replication. That was a useful breakthrough for me. And so I hope it's useful for other people too. Yeah, I'm sure it will be. And I'll definitely link this article in the show notes along with the consistency diagrams and all the other things. Great. Yeah, cool. All right, Jesse, thank you for being here. It's been really great to have you back on the show. Thanks a lot, Michael. This has been another episode of Talk Python To Me. Thank you to our sponsors. Be sure to check out what they're offering. It really helps support the show. Take some stress out of your life. Get notified immediately about errors and performance issues in your web or mobile applications with Sentry. Just visit talkpython.fm/sentry and get started for free. And be sure to use the promo code talkpython, all one word. Influx data encourages you to try InfluxDB. InfluxDB is a database purpose built for handling time series data at a massive scale for real time analytics. Try it for free at talkpython.fm/influxdb. Want to level up your Python? We have one of the largest catalogs of Python video courses over at talkpython. Our content ranges from true beginners to deeply advanced topics like memory and async. And best of all, there's not a subscription in sight. Check it out for yourself at training.talkpython.fm. Be sure to subscribe to the show. Open your favorite podcast app and search for Python. We should be right at the top. You can also find the iTunes feed at /itunes, the Google Play feed at /play, and the direct RSS feed at /play. RSS on talkpython.fm. We're live streaming most of our recordings these days. If you want to be part of the show and have your comments featured on the air, be sure to subscribe to our YouTube channel at talkpython.fm/youtube. This is your host, Michael Kennedy. Thanks so much for listening. I really appreciate it. Now get out there and write some Python code. Speaker 1: I'm out. you you you Thank you.
