Giter VIP home page Giter VIP logo

servicescope-backend's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

servicescope-backend's Issues

Hit count

Create hit counting for services and posts.

use redis / rabbitmq for hit counting

Send emails

  • on stripe webhook for services boosting
  • support mjml
  • NO / cdn for templates ?

Stripe webhook

  • [x] stripe webhook setup
  • [] add more reasons
  • rewrite the whole thing. Use dj-stripe and synchronize data, do not try to hold it synced by yourself, it's not worth it

uvicorn + gunicorn vs daphne / asgi

uvicorn gunicorn

 โ–ฒ brainhub/code/tmp ./test.sh
Destination: [::1]:9123
Destination: [127.0.0.1]:9123
Destination: [127.0.1.1]:9123
Interface lo address [::1]:0
Using interface lo to connect to [::1]:9123
WARNING: Could not detect local address when connecting to [127.0.0.1]:9123: Multiple incompatible address families in destination.
WARNING: Would not open more than 64k connections to [127.0.0.1]:9123
Ramped up to 100 connections.
Total data sent:     1117.4 MiB (1171664942 bytes)
Total data received: 30.0 KiB (30726 bytes)
Bandwidth per channel: 9.370โ‡… Mbps (1171.2 kBps)
Aggregate bandwidth: 0.025โ†“, 936.955โ†‘ Mbps
Packet rate estimate: 21.6โ†“, 80881.9โ†‘ (1โ†“, 45โ†‘ TCP MSS/op)
Test duration: 10.004 s.

runserver

 โ–ฒ brainhub/code/tmp ./test.sh                                                                                                                                             11s 
Destination: [::1]:9123
Destination: [127.0.0.1]:9123
Destination: [127.0.1.1]:9123
Interface lo address [::1]:0
Using interface lo to connect to [::1]:9123
WARNING: Could not detect local address when connecting to [127.0.0.1]:9123: Multiple incompatible address families in destination.
WARNING: Would not open more than 64k connections to [127.0.0.1]:9123
Ramped up to 100 connections.
Total data sent:     697.6 MiB (731500718 bytes)
Total data received: 10.0 KiB (10291 bytes)
Bandwidth per channel: 6.962โ‡… Mbps (870.3 kBps)
Aggregate bandwidth: 0.008โ†“, 584.842โ†‘ Mbps
Packet rate estimate: 5.2โ†“, 50306.1โ†‘ (1โ†“, 45โ†‘ TCP MSS/op)
Test duration: 10.0061 s.


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.