timadevelop / servicescope-backend Goto Github PK
View Code? Open in Web Editor NEW[WIP] Servicescope API
License: GNU General Public License v3.0
[WIP] Servicescope API
License: GNU General Public License v3.0
group_channels
feature and check if user is in conversation room on backend, not frontend.Create hit counting for services and posts.
use redis / rabbitmq for hit counting
Why are we using 2 requirements.txt
files?? ๐ฎ
review and fix permission for api
mjml
Warning: The --link flag is a legacy feature of Docker:
Slow LocationSerializer due to district serialization
Use only allauth and django-rest-auth for authentication.
Support multiple languages for responses
https://www.django-rest-framework.org/topics/internationalization/#internationalization
https://docs.djangoproject.com/en/2.2/topics/i18n/
_
, ref: https://docs.djangoproject.com/en/1.7/topics/i18n/translation/set random tag color on_create
Auto-generate API key outside container using a script, not by hand using dj admin.
queryset.order_by('?')
may be expensive and slow, depending on the database backend youโre using:
https://docs.djangoproject.com/en/2.1/ref/models/querysets/#order-by
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.