Evgeny Maksimov
Evgeny Maksimov
  • Видео 8
  • Просмотров 58 480
Simple Web Optimization Technique for Top Google Results
In this video I'll show you the best ways to optimize media on your website to make it fast, great looking and rank better for SEO.
👍 If you enjoyed this content, give this video a like
Product websites in the video aren't affiliated with me and are for demo purposes.
0:00 intro
2:23 examples
4:20 biggest problem
7:28 how to estimate best image size
11:09 formats and compression tips
16:15 basic implementation
20:34 optimize for mobile
Просмотров: 889

Видео

Async in practice: how to achieve concurrency in FastAPI (and what to avoid doing!)
Просмотров 18 тыс.Год назад
Concurrency can be confusing. Let's dive into how to use async functions and achieve concurrency with FastAPI git repo: github.com/creepykedi/FastApi-Async-Practices 00:00 Intro 1:45 Practical overview 11:49 Why things behave not like you might expect 25:08 Best practices 36:58 Quick recap #FastAPI #asyncio #async #python #concurrency #tips
How to host your python backend API on a VPS (for cheap!)
Просмотров 3,8 тыс.2 года назад
Full guide on how to deploy your python API on a VPS with nginx & gunicorn web server. reference project & server configurations: github.com/creepykedi/Fastapi-jewels-tutorial vps provider: zomro.com/?from=346907 0:00 hosting options & advantages 04:44 getting a VPS 08:20 deploying with nginx on a linux server 16:35 setting up custom domain
Build a real-time Auction app. Part 2 - Frontend with Svelte
Просмотров 1,6 тыс.2 года назад
Finishing our websockets project with Svelte on frontend. This one is much longer than first one, because I'm trying to show off svelte a little bit. backend repo : github.com/creepykedi/Auction-tutorial-backend this project repo: github.com/creepykedi/Auction-tutorial-frontend 0:00 Installation 3:58 Svelte basics 21:55 coding websockets 25:10 svelte store 34:30 testing prototype 35:25 styling ...
Python Websockets tutorial: build a real-time Auction app. Part 1 - Backend
Просмотров 2,4 тыс.2 года назад
Let's build an Auction app using Websockets and Python. I'm using FastAPI & SQLModel for this project, but you can use Flask or what you're more comfortable with - for the most part websockets interaction remains largely the same! github.com/creepykedi/Auction-tutorial-backend 0:00 intro 0:22 finished project 1:00 start 8:35 testing #websockets #python #tutorial
STOP writing LONG filter lookups with your ORM. Try this instead
Просмотров 1,8 тыс.2 года назад
How not to violate DRY when you have dozens of similiar comparison filter queiries in your python backend app? Let's find out! repo: github.com/creepykedi/fastLookups Intro 0:00 Problem 3:10 Developing solution 4:50 Testing solution 19:20 Possible improvements 22:20 #FastAPI #Flask #SQLAlchemy #SQLModel #Python #ORM #Tutorial #efficient #SQL #DRY #lookups #OOP #tips #tricks
FastAPI with SQLModel, Alembic and Authentication. Full Course
Просмотров 29 тыс.2 года назад
Build a complete backend FastAPI application with SQLModel and Alembic. Github repository for this tutorial: github.com/creepykedi/Fastapi-jewels-tutorial Download sqlite browser: sqlitebrowser.org/dl/ Chapters: 0:00 Intro 2:40 Technologies used - theoretical part 12:07 What we're building 14:25 Finished project overview 16:15 Start 20:20 SQLModel 1:30:00 FastAPI writing CRUD 2:12:03 Migrations...

Комментарии

  • @jafeta.7553
    @jafeta.7553 Месяц назад

    Great video. Thank you very much!

  • @user-bd7pi5jv4z
    @user-bd7pi5jv4z Месяц назад

    can you send a book you are referring to in your video?

  • @Optimusjf
    @Optimusjf 2 месяца назад

    Excelent

  • @user-wq2mi9bm3n
    @user-wq2mi9bm3n 3 месяца назад

    Отличное видео

  • @theblack5416
    @theblack5416 3 месяца назад

    Zoom the screen abit.

  • @ahmadreza2189
    @ahmadreza2189 4 месяца назад

    Great video, well done!

  • @zemalex89
    @zemalex89 4 месяца назад

    finally amazing explanation with good examples I don't know how how come that you don't have a milion of views

  • @chikelue
    @chikelue 5 месяцев назад

    Thank you for this, helped me deploy my fastapi project online

  • @tomasemilio
    @tomasemilio 5 месяцев назад

    Awesome

  • @powerupattorney
    @powerupattorney 5 месяцев назад

    hello, I am looking for a developer to help implement a closed system digital collectible auction and marketplace. Is this something you could help with?

    • @evgenymaksimov
      @evgenymaksimov 5 месяцев назад

      hello! shoot me an email at pumpkinthestrange@gmail.com

  • @Smarandii
    @Smarandii 6 месяцев назад

    Good job comrade

  • @lianakalpakchyan4454
    @lianakalpakchyan4454 6 месяцев назад

    I just wanted to press like again and again

  • @avilroad37
    @avilroad37 7 месяцев назад

    Great job, thank you 👍

  • @jimmykhaidem9291
    @jimmykhaidem9291 7 месяцев назад

    Hi bro, can you make a video of using chunk method

  • @serhiiserhieiev2583
    @serhiiserhieiev2583 7 месяцев назад

    Лучшее видео по FastAPI что я смотрел за последнее время. Кратко и в то же время очень ёмко. Видно что автор глубоко разбирается в вопросе. Респект!

  • @chapizishorts6528
    @chapizishorts6528 8 месяцев назад

    14:50 What about GIL, doesn't it forbid to create multiple threads within 1 process?

    • @evgenymaksimov
      @evgenymaksimov 7 месяцев назад

      It doesn't forbid to create, it just doesn't let more than one kernel thread take execution at the same time. However, for I/O calls GIL is getting realeased, so it doesn't impact it in our case

  • @rondechaka1160
    @rondechaka1160 8 месяцев назад

    This video should have more views 👍

  • @radoniainarakotonirina2856
    @radoniainarakotonirina2856 8 месяцев назад

    Holy shit, you just level up my Python skill

  • @radoniainarakotonirina2856
    @radoniainarakotonirina2856 8 месяцев назад

    Very interesting

  • @dasshrs
    @dasshrs 8 месяцев назад

    You desire a million views - that is a great in-depth tutorial!

  • @alekseichulei9955
    @alekseichulei9955 8 месяцев назад

    Did you try to use psycopg3 since it provides async?

  • @hamzadlm6625
    @hamzadlm6625 9 месяцев назад

    « writing async in front of every function and hoping for the best » yup that’s me 😂

    • @dasshrs
      @dasshrs 8 месяцев назад

      That is really how it looks like when you do not check the implementation under the hood That was me too btw:)

  • @SanthoshAC-p3s
    @SanthoshAC-p3s 9 месяцев назад

    I have a question regarding sqlmodel and pydantic. I created a class based on sqlmodel, and now I want to use that for data validation using pydantic @validator (decorotor) and perform an ORM operation. So how do I do it?

    • @evgenymaksimov
      @evgenymaksimov 9 месяцев назад

      easy, in the model create a method, it should be something like @validator('your_field_name', pre=True) def convert_to_number(cls, v): return float(v) or raise something here if v isn't what's needed. then as you create an instance of model, validation on set field automatically applies

  • @osogrande4999
    @osogrande4999 10 месяцев назад

    text is FAR too small. 99% wasted screen space, 1% tiny tiny tiny text. Why do youtubers still not get it?

    • @evgenymaksimov
      @evgenymaksimov 10 месяцев назад

      I'm about as much of "youtuber" as you are.That was literally my first video ever made, sorry I wasn't born a video producer.

  • @payitapp
    @payitapp Год назад

    Is it just me or our good tutor looks like Scarlett Johansson's brother 🤔. This is A really good tutorial by the way. Gives good context for how to write Async code.

  • @luisgarciacuesta6120
    @luisgarciacuesta6120 Год назад

    Great video, thanks!

  •  Год назад

    @evgenymaksimov 26:09 Of course, we cannot see that it has made a big difference with just a request. If you send thousands of IO-heavy requests, each request will be dedicated to a different thread, and as you said before, the application will lose performance after a while because the threads are memory hungry. If we use coroutines instead, I can say that they are lighter threads, the application will run more efficiently. Actually this may also be an answer to when to use thread and when to use async.

  • @mfaraz5075
    @mfaraz5075 Год назад

    Good work ❤

  • @dougkfarrell
    @dougkfarrell Год назад

    Hi Evgeny, This is really great as I'm trying to implement exactly this in a FastAPI REST API I'm building right now! Is there a repository where I can see the final code somewhere? Also, couple other questions: Is it possible to do case-insensitive searching? Does this work for things like searching datetimes? Again, thanks for this, it's great! Doug

    • @evgenymaksimov
      @evgenymaksimov Год назад

      hi, thanks for the comment! I added repo link to the description. Yes, you can do case insensitive using sqlachemy's 'ilike', I actually made that change to code so you'll be able to do case insensitive search. About datetime, as far as i remember, it has feature of comparison in basic class, so you should be able to. But if it doesn't work, you can create some extra functions to handle it and add it to the class

    • @dougkfarrell
      @dougkfarrell Год назад

      @@evgenymaksimov Thanks for the reply and the link to the repo. I'm going to work on incorporating what you have into my code, and I'll let you know how it works out! Again, thanks! Doug🙂

    • @dougkfarrell
      @dougkfarrell Год назад

      @@evgenymaksimov Hi Evgeny, I made some changes to the code so numeric and boolean data would be compared directly rather than as string compares. I also added code so the 'q=' in the query_params when using the OpenAPI interface provided by FastAPI would be removed, but normal query_strings from things like PostMan would also work. I can't push the changes as a branch to your repository. Let me know if you want to add me as a collaborator, so I can send you the changes in some other way. Doug

  • @ivan_inanych
    @ivan_inanych Год назад

    Мог бы и на русском говорить

  • @picassoofai4061
    @picassoofai4061 Год назад

    I've seen the source code and Im very excited now.

  • @jovid6410
    @jovid6410 Год назад

    An amazing tour from amazing lad, well done! However, how can I make an atomic transaction with SQLModel orm? If it is possible please make more videos about SqlModel orm.

  • @wexwexexort
    @wexwexexort Год назад

    I write raw sql with f strings, lol

  • @aiornerok3931
    @aiornerok3931 Год назад

    Жека го на русском)

  • @unicoxr5tj417
    @unicoxr5tj417 Год назад

    подписался) Жека а че не на русском?)

  • @anselemokeke1143
    @anselemokeke1143 Год назад

    Great and intuitive video. How can I reach you?

  • @pythoneer44
    @pythoneer44 Год назад

  • @pythoneer44
    @pythoneer44 Год назад

    🤯

  • @akshaysarbhukan6701
    @akshaysarbhukan6701 Год назад

    Thanks for the tutorial. I have a question, is there any way to implement server sent events in FastAPI?

    • @evgenymaksimov
      @evgenymaksimov Год назад

      take a look at pip package sse-starlette, it adds this functionality and you can use it with fastapi!

    • @akshaysarbhukan6701
      @akshaysarbhukan6701 Год назад

      @@evgenymaksimov thanks. So basically FastAPI still uses http 1.1 on top of which sse-starlette implements SSE, am I correct?

    • @evgenymaksimov
      @evgenymaksimov Год назад

      @@akshaysarbhukan6701 not quite. FastAPI itself doesn't have hard dependecy on webserver. Regularly most use uvicorn as webserver, which uses http 1.1, but you can install hypercorn instead which supports 2.0 and it will work just fine

    • @akshaysarbhukan6701
      @akshaysarbhukan6701 Год назад

      @@evgenymaksimov yeah, got it. Thanks again for the help.

  • @jijojoseph8721
    @jijojoseph8721 Год назад

    53:13 i was running the program in vs-code and for me a weired eroor came like ModuleNotFoundError: No module named 'main', took me a long time to figure out what is going wrong. looks like its part of relative imports and found a solution like when we run the code for gem_repository we should run it as a module like , python -m repos.gem_repository while we are in the main parent folder

    • @jijojoseph8721
      @jijojoseph8721 Год назад

      as i was following the tutorial along i saw you too had the issue of circular import, and how you have solved the same

  • @huyubosaka8906
    @huyubosaka8906 Год назад

    Thx for best material. It will be interesting if you do video about ASGI and WSGI web servers.

  • @user-db3hr3xt4x
    @user-db3hr3xt4x Год назад

    hi, Evgeny! great job! crystal clear explanation! big thanks!

  • @avitiwari7921
    @avitiwari7921 Год назад

    Excellent tutorial👌 and very accurate, precise chart. These are some much needed topics to be taken care of. My small request will be to share the code and chart in a repo, it will be much helpfull.

    • @evgenymaksimov
      @evgenymaksimov Год назад

      Thank you for the kind words! Noted, I added git with chart to the video description :)

  • @danisidiatullin9818
    @danisidiatullin9818 Год назад

    Thank you for the tutorial, Evgeny. Could you explain how to write tests with fastapi, sqlmodel and postgres in the next tutorials? Especially I want to know how to manage and isolate test database from project database.

  • @BatsyRacing
    @BatsyRacing Год назад

    Good job. But what about swagger documentation?

  • @timur8216
    @timur8216 2 года назад

    Спасибо! Познавательно!

  • @paolo-e-basta
    @paolo-e-basta 2 года назад

    hello! amazing tutorial, clears a lot of doubts. please do more... How could be implemented a token blacklist/invalidation strategy, if it worth to do that? And... token refresh too would also be awesome to see how it could beimplemented. huge thanks

  • @pipi_delina
    @pipi_delina 2 года назад

    The aspect is too small

  • @alexandreabramtsev9160
    @alexandreabramtsev9160 2 года назад

    Круто, спасибо!

  • @shaheerzaman620
    @shaheerzaman620 2 года назад

    This was great! Enjoyed it!