How do I Profile Django Application Using Django Web Profiler
When working with a large scale applications which includes many modules, we need to focus on the performance to give more user statisfaction, sustainability. To improve the performance, we need to analyze the application in various cases for ex: examine all urls with their response time and status codes, no of database queries with time for a particural url.
In that case, django-web-profiler will be very helpful for your application. It'll records the application urls with data.
Celery Flower to Monitor Task Queue
Celery is a task queue that is to built an asynchronous message passing system. It can be used as a bucket where programming tasks can be dumped. The program that passed the task can continue to execute and function responsively.
To monitor the status of these celery tasks we use celery flower
The Celery Flower is a tool for monitoring your celery tasks and workers. It's web based and allows you to see task progress, details, worker status.
Check Test Coverage in Django Code with Coveralls
Coverage: It is a tool used for measuring the effectiveness of tests, showing the percentage of your codebase covered by tests.
Test Coverage is an important indicator of software quality and an essential part of software maintenance. It helps in evaluating the effectiveness of testing by providing data on different coverage items. It is a useful tool for finding untested parts of a code base. Test coverage is also called code coverage in certain cases.
Full text search is a custom implementation created by the MongoDB developers as a specific index type
Full text search as an index type when creating new indexes, just like any other.
1.Indexing of multiple fields, with weighting to give different fields higher priority.
2.Support for Latin based languages initially, with plans for other character sets later.
MongoDB CRUD Operations with Python (Pymongo)
MongoDB with Python - Connection establishment, Create, Update, Retrieve and Delete operations explained with sample code.
Multifactor Authentication with Django MFA using Google Authenticator
Use Django Multi-Factor Authentication method to verify user identity with more than one authentication methods. It can be used for user login, any transactional methods etc.
Advanced Queries of MongoDB: Inserting records to the database and retrieving data from database.
1. Wrapped Queries: Like, sort, limit, count.
2. Query Using Modifiers: set, increment, push,Set Elements in Array, AddToSet Modifier, each.
MONGODB GROUP() VS MAPREDUCE VS AGGREGATION Framework
The group() command, Aggregation Framework and MapReduce are collectively aggregation features of MongoDB. group(): Group Performs simple aggregation operations on a collection documents. Group is similar to GROUP_BY in mysql. Output format : Returns result set inline. Sharding: Its not support in shared environment. Limitations: