TechLog

Telegram to Launch Paid Features in 2021

Telegram is a cross-platform cloud-based instant messaging, video calling, and VoIP service. It was at first propelled for iOS on 14 August 2013 in Russia, and is right now based in Dubai.

Over the years, Telegram has demonstrated to be a well-known alternative to WhatsApp and Facebook Messenger. It’s presently on the verge of coming to 500 million dynamic clients, and as it approaches this point of reference, co-founder Pavel Durov has reported plans to start earning income in 2021 through premium features and an advertisement platform.

An operation of such scale requires a few genuine moolahs to keep going. Also, the app is upgrading frequently with new features. Just today, always-on voice chats, SD card support, and new animations were presented. Durov’s reserve funds were the essential source of financing until presently, but this isn’t feasible within the longer term. To keep the boat above water, Telegram includes a two-pronged methodology.

Firstly of all, it plans to present paid features in 2021 that will be pointed at business and control clients. Don’t stress, all of the features that are as of now free will stay so, forever. Secondly, and likely, more importantly, it plans to present an advertisement platform that’s user-friendly, regards privacy and allows them to form up for the costs of servers and traffic.

It’s critical to note that no advertisements will be shown in either personal or group chats. What may be monetized are the open one-to-many channels, a few of which have millions of endorsers.

The company claims that in case it begins earning income, it will share benefits with the community. For occurrence, channel proprietors will “get free traffic in proportion to their estimate,”. In spite of the fact that it’s not exactly clear what that means, and there will be other opportunities such as paid stickers with profits getting to the artists.
Thankfully, Durov rejected the idea of ever offering Telegram to a huge organization. While snarkily indicating out Facebook’s procurement of WhatsApp within the process. Concurring to him, the course that the company has chosen will permit it to keep improving and developing without losing focus on its values.

Note: This article belongs to TechLog team

Russian Legislation to block social apps

Russian legislators opened an unusual front against the internet on Wednesday by declaring plans to block any services regarded to “censor” local media. They took a step forward to permit controllers to block web sites such as Facebook and YouTube in case they are believed to censor Russian-produced content.

Russia’s lower house of parliament, which passed the draft law in the third reading, said in a media release that authorities seem to target platforms in case they were found to constrain information based on nationality and dialect.

The proposition by Russian lawmakers appears to be coordinated against new efforts by US technology mammoths to anticipate abuse and legitimately recognize fake news and propaganda. It came a day after state media regulator Roskomnadzor demanded YouTube remove restrictions evidently placed on programs created by the conspicuous state TV propagandist Vladimir Solovyev.

The lower house State Duma said that Internet websites could moreover be endorsed “in the event of discrimination against the content of Russian media”.

In an illustrative note joined to the bill, the authors composed that authorities have received complaints from Russian media this year that their accounts have been censored by “foreign Internet platforms Twitter, Facebook, and YouTube”. Earlier this year, American tech giants presented labels to state-owned media outlets.

.The legislation will have to be affirmed by the Upper House Federation Council before steps can be taken by President Vladimir Putin to be considered conventions within the law. In recent years the Kremlin has ventured up its endeavors to control the Russian segment of the Internet on the pretext of combating online extremism.

In 2018 regulators requested the encrypted messenger service Telegram to be blocked, in spite of the fact that those attempts were ended prior this year after its co-founder Pavel Durov reported on steps to combat extremism

Last week a Moscow court fined Google for not taking down online content prohibited by Russian authorities, the most recent in a series of escalating penalties. In February a Moscow court fined Twitter and Facebook for disregarding a Russian law requiring them to store Russian citizens’ user information inside the country.

Note: This article is written by TechLog team and no one is allowed to copy it.

Huawei MateBook With Intel 11th Generation Processors

Huawei MateBook D 15 and MateBook D 14 2021 have been propelled in China. The Windows 10 Domestic laptops are fueled by Intel’s 11th era processors. They are the successors of Huawei MateBook D 15 and MateBook D 14 2020 Version. These had AMD Ryzen 4000 or Intel 10th era Core processors beneath the hood. Both the modern portable workstations come equipped with an Nvidia MX450 design. The laptops have been launched on the same occasion which saw the debut of the Huawei Nova 8 and Nova 8 Pro smartphones.

Huawei MateBook D 15 2021 has been launched in three variations. There is one with Intel Center i5-1135G7 processor, a 512GB SSD, 16GB of Ram, and integrated Iris Xe design. It is estimated at CNY 4,999 (generally Rs. 56,350).

The second one comes prepared with an Intel Center i5-1135G7 processor, a 512GB SSD, 16GB of Ram, and Nvidia GeForce MX450 illustrations. It costs up to CNY 5,499 (generally Rs. 62,000). Furthermore, The third one comes with an Intel i7-1165G7 processor, a 512GB SSD, 16GB of Ram, Nvidia GeForce MX450 design. It is estimated at CNY 6,399 (generally Rs. 72,100).

The MateBook D 14 2021 has been launched in two variations. The primary one ships with Intel Center i5-1135G7 processor, a 512GB SSD, 16GB of Slam and coordinates Iris Xe design. It is estimated at CNY 4,999 (generally Rs. 56,350). The second variation highlights Intel Center i7-1165G7 processor, 512GB SSD, 16GB of Ram, and Nvidia GeForce MX450 graphics. It is estimated at CNY 6,399 (roughly Rs. 72,100). Both MateBook D 14 2021 as well as MateBook D 15 2021 portable workstations are up for pre-orders

MateBook D 15 2021 specifications

Huawei MateBook D 15 2021 features a 15.6-inch IPS LCD full-HD (1920×1080 pixels) display with 100 percent sRGB bolster, and eyes security technology. Similar to its 14-inch kin, it moreover has 180-degree hinges and 11th era Intel Center i7-1165G7 processor. It is paired with 16GB of DDR4 Ram and 512GB of SSD storage.

Customers can select from a Core i5 variation of the Huawei MateBook D 15 with the Nvidia GeForce MX450 graphics or the integrated one. There’s an Intel Center i7 variation with the Nvidia GeForce MX450 design card. Connectivity options incorporate Wi-Fi 6, a USB 2.0 port, a single USB 3.0 port, an HDMI, 3.5mm earphone jack, USB Type-C port, and Bluetooth 5.1. The notebook measures 357.8×229.9×16.9mm and weighs 1.56kg.

D 14 2021 specifications

Huawei MateBook D 14 highlights a 14-inch IPS LCD full-HD (1920×1080 pixels) display with a 180-degree hinge that permits the portable workstation to lay flat. It highlights a 100 percent sRGB screen and supports multi-screen functionality. It is fueled by 11th era Intel Center i7 processor, which is coupled with 16GB of DDR4 Ram and 512GB of SSD capacity. Clients have an alternative to choose from either integrated Iris Xe illustrations or a devoted Nvidia GeForce MX450 graphics card.

 Connectivity options on the Huawei MateBook D 14 incorporate Wi-Fi 6, a USB 2.0 port, a single USB 3.0 port, an HDMI, 3.5mm earphone jack, USB Type-C port, and Bluetooth 5.1. It comes with 65W quick charging and a unique finger impression scanner. The tablet measures 322.5×214.8×15.9mm and weighs 1.38kg.

Note: This article is written by TechLog team and no one is allowed to copy it

Motorway police introduces anti-sleep device for drivers

The National Highways & Motorway Police, shortened NHMP, is a police force in Pakistan that’s mindful of the requirement of traffic and safety laws. Also security, and recuperation on Pakistan’s National Highways and Motorway network.

In a bid to control traffic mishaps, the National Highways & Motorway Police has presented an alarm-like gadget to keep drivers from falling sleeping at the steering wheel. They claim that it’ll essentially decrease the rate of mishaps on the motorway.

The gadget is outlined to be worn on their ears and has sensors that set off a caution on the off chance that when a driver’s head tilts forward due to drowsiness. The alarm may be an uproarious beep that sounds off close to the ears of the driver.

As reported by a motorway constable who illustrated the utilize of the gadget in a video, it really costs Rs. 750 but will be made accessible for public use at Rs. 300 with the assistance of an anonymous donor.


The constable too educated the media that the division will present the gadget in coordination with the dealer’s affiliations and neighborhood administrations. He included that roadside stalls will be set in each range to offer the gadget to the public.

The motorway police division confirmed that most of the mishaps on the motorway are caused by drivers who fall asleep while driving, because of which hundreds of citizens lose their lives on a customary basis.

It added that the new gadgets can be worn by both drivers and travelers to anticipate such catastrophes.

Zoox unveils a self-driving car; becomes Amazon’s first robotaxi

Zoox, a self-driving car company that Amazon bought in June. It has at long last uncovered its robotaxi after six years of gnarly models and mystery. Whereas it broadly takes after other first-generation autonomous vehicles from automakers and Silicon Valley startups. Zoox’s robotaxi incorporates a few standout highlights as well as a general polish to it. This is itself evident why Amazon considers it could be the foundation of a juvenile autonomous ride-hailing service. 

The vehicle, which Zoox depicts as a driverless carriage or robotaxi, can carry as many as four travelers. With a motor at each end, it voyages in either direction and maxes out at 75 miles per hour.  Two battery packs, one beneath each row of seats, produce sufficient juice for 16 hours of run time before energizing. To commercialize the innovation, Zoox plans to dispatch an app-based ride-hailing benefit in cities like San Francisco and Las Vegas.

Like most early autonomous vehicles, Zoox’s robotaxi is decked out in security innovation. There’s a crown of six LIDAR pucks up best, as well as multiple radar sensors and cameras. Zoox says this gives a 270-degree field of view at each corner, for all intents and purposes eliminating blind spots as well as giving redundancy in case a sensor falls flat. The sensor suite permits the vehicle to see objects up to 150 meters away.

The vehicles make a big appearance comes as the autonomous-vehicle space has begun to solidify . The industry is coming to terms with how challenging it is to create driverless cars without colossal monetary assets.

Zoox is testing the purpose-built vehicle on private streets, and will at that point move to open streets.

This is an important step, as Zoox wants to ensure that the vehicles on the road have been thoroughly tested, vetted, and are ready for the public to use

Spokesperson for zoox

Zoox is still on our journey on the path of launching a commercial ride-hailing service

Spokesperson for zoox

Amazon bought Zoox for a reported $1.2 billion prior this year, and Aurora Innovation declared it would acquire Uber’s self-driving division, Uber ATG, this month.

Note: This article is written by TechLog team and no one is allowed to copy it.

Oppo launches a tri-fold concept smartphone

Oppo was registered in China in the year 2001, whereas it was launched in 2004. Oppo is a Chinese electronics and mobile company. Its major product lines include smartphones, audio devices, power banks, and many other electronics.

Oppo has joined forces with Japanese plan studio Nendo to appear off a concept slide phone with three foldable screens. These three screens can fold in different angles permitting you to fold the phone in a few ways depending on your necessities.

Oppo remains pertinent once more, indeed after Oppo X 2021 (the rollable phone), this time changing the diversion within the clamshell field. They just showcased a tri crease smartphone, which is assumed to become exceptionally compact and grow to a much larger diagonal.

The OPPO tri-fold concept uncovered 40mm of the show when collapsed once, giving basic points of interest like history, notifications, and other imperative subtle elements for the client, but considered simple and don’t interfere with the every day interaction propensities on the rest of the screen.

Next comes the 80mm parcel of the smartphone, which can be utilized to take images. Lastly, you have got the complete 7-inch screen to play around with once the gadget has been totally unfurled. It’ll moreover depend on the circumstance, such as seeing a long memo or two app windows opened for simpler monitoring.

OPPO is additionally advertising a stylus, which can be tucked away into the phone’s body. There are three camera sensors on the phone’s outer shell in conjunction with an Led flash. As the company is highlighting the phone’s design, the details have not been revealed.

OPPO is rumored to dispatch its own form of a foldable smartphone in 2021. Whereas this most recent tri-fold display smartphone is just another concept, it opens up numerous openings for smartphone producers. Likely, this concept’s commercial units won’t show up in 2021. However phone monsters like Samsung may contribute more assets in making a gadget comparative to this a reality.

Note: This article is written by TechLog team and no one is allowed to copy it.

Amazon’s giant delivery drone is not real

Amazon has previously filed for a patent in 2014 for a huge flying warehouse equipped with drones. These drones will deliver products to the desired locations. Carried by aircraft, the distribution centers would visit places Amazon anticipates requests for certain products to boom. It says one utilize might be close donning occasions or celebrations where they would offer nourishment or gifts to spectators. The patent envisages an arrangement of back vehicles that would be utilized to restock the flying structures.

A video of what shows up to be an Amazon “mothership” conveying out rambles has rapidly spread over social media this week. It is picking up millions of views within the process. For numerous, it’s a terrifying image of a dystopian future. In truth, one viral tweet displaying the monster dirigible video chose “borderline dystopian” as the precise depiction of it.

The thought was coasted to unravel issues amazon was having in its interest in a full-fledged conveyance benefit. Propelling a drone from the ground for each product delivery requires an incredible amount of vitality. It also requires an airship that drones could float down from would preserve a drone’s energy.  

Amazon has for a long time been indicating plans for a drone conveyance service. In 2013, Jeff Bezos told CBS’s “60 Minutes” that Amazon’s “octocopter” delivery drones would be operational in four or five years.

The idea of delivery of products via the blimp is not completely fictional. It is based on the patent filed in 2014. However, it seems like people are not completely on board with it. However, the question arises if the video is authentic or not? Of course, it is not and it can be verified that it was created using computer graphics.

The original video was posted by a Japanese craftsman in no time after April Fools’ Day started in Japan. To prove that it was computer-generated, the craftsman posted their motivations, how they made it, and where the background came from all inside the first tweet’s thread. On contrary, the floating behemoth within the video isn’t genuine, there’s a part of the truth that went behind the creation of this video. The design of the airship itself is inspired by a genuine Lockheed Martin item called the Crossbreed Airship. 

Note: This article is written by TechLog team and no one is allowed to copy it.

Samsung Electronics Report Slight Decline in Profit

Samsung Electronics Co. reported Wednesday a slight decrease in its first-quarter net benefit. In spite of expanded computing demand for its memory chips. They warned that the pandemic’s impact could further undermine the company’s profit for the rest of the year.

The South Korean innovation giant said its first-quarter net benefit plunged to 4.88 trillion South Korean won ($3.99 billion). As compared with 5.04 trillion won the earlier year. Income rose around 5.6% to 55.33 trillion won from 52.39 trillion won amid the same period a year prior.

Samsung, the world’s biggest smartphone and memory chip producer, had estimated a restricted hit to its first-quarter profit. The company profited from a bump in chip deals as individuals worked from home amid the widespread, causing the internet to utilize to spike and its semiconductor operating deals to rise 22% over the earlier year’s quarter.

Online traffic streams through data centers and servers that depend intensely on semiconductors. But other parts of the company have mulled as supply chains dried up and buyer requests dove. Operating deals for the company’s mobile division plunged 4% compared with the earlier year. In spite of Samsung’s propelling in February an unused lineup of handsets that ordinarily provide a profit boost.

At the beginning of the year, Samsung’s pioneers had outlined out a drastically diverse amusement plan: forcefully publicizing their most recent attack into the high-end smartphone showcase with foldable advertising and 5G-enabled gadgets, and managing an account on an anticipated rally in its semiconductor operations.

Samsung warned about more decreases within the coming quarter, with requests for its smartphones, machines, and displays diving further as stores stay closed and consumers unlikely to spend within the financial downturn.

Though some countries may have started to flatten the curve of the virus, it is unclear how long it will take for any recovery to be reflected in the company’s profits. There will be some time needed for the real economy to actually recover… It’s difficult for us to see how much of a decrease in demand we’ll see in the second quarter.

Jong-min Lee

Huawei has decided to invest in Chinese chip manufacturers

Huawei has begun contributing to rising Chinese chip companies as the telecoms bunch accelerates endeavors to ended up self-reliant in semiconductor innovations within the confront of US sanctions.

Hubble Innovation Venture, an Rmb2.7bn ($413m) support set up by Huawei in April last year, has procured minority stakes in three Chinese semiconductor gear companies over the past three months. That marks a critical move in a strategy that eyewitnesses believe is connected to Huawei’s plans for “de-Americanised” chip generation, as the Shenzhen-based bunch battles in the face of US restrictions.

Hubble was already “investing primarily in companies that can be direct providers to Huawei, but a handful of recent speculations are different. They are semiconductor equipment vendors that are not aiming to be direct providers to Huawei.

 Stamp Li, a chip examiner at Bernstein in Hong Kong

Under trade controls forced in May and fixed in August, Washington prohibited the utilize of US technology for planning or fabricating chips anyplace that might end up in Huawei products.

In spite of the fact that a few companies have gotten licenses to proceed to provide the Chinese group, the limitations have debilitated the longer term of Huawei’s trade. In reaction, Beijing has ventured up its push to end up being self-reliant in semiconductors. That plan incorporates a devoted chip plant for Huawei that would run without US-bought hardware.

The investments are clearly replacing US companies they can no longer get access to

A chip industry executive

According to open company records, Hubble in September procured a 3.3 percent stake in Sky verse, a company supported by the Chinese Institute of Sciences, which makes test and review apparatuses for use in semiconductor fabricating. In spite of the fact that as it were Rmb3.3m, the speculation is seen as exceedingly vital since it gives the company access to technology it cannot source from the US.

Skyverse offers items comparative to those of KLA, one of America’s driving chip hardware producers. It competes with NI and Teledyne Technologies, chip plant providers based in Texas and California, individually.

Huawei can no longer work with them because of the recent sanctions

Industry executive of the US suppliers.

In late November, the Huawei-affiliated finance made two more speculations in Chinese semiconductor equipment and materials producers worth a combined Rmb13m. It took a 6.2 percent stake in Ningbo Allsemi, a little company that creates machines for carving wafers and expelling photoresist layers, both critical processes in chip fabricating.

Common practices for REST API design

REST API are one of the most well-known sorts of web services accessible today. They permit different customers including program applications to speak with a server through the REST API.

Along these lines, it’s essential to configure REST APIs appropriately so we won’t run into issues in the future. We need to consider security, execution, and convenience for API consumers.

Furthermore, we make issues for customers that utilize our APIs, which isn’t good and degrades individuals from utilizing our API. If we don’t follow generally acknowledged conventions, at that point we befuddle the maintainers of the API. Also, the customers that utilize them since it’s not quite the same as what everybody anticipates.

In this article, we’ll see how to configure REST APIs to be straightforward for anybody consuming them. As well as for future-verification, and secure and quick since they serve information to customers that might be secret. Since there are different ways a network application can break, we should ensure that any REST APIs handle mistakes effortlessly utilizing standard HTTP codes that assist buyers with managing the issue.

Accept and respond with JSON

REST APIs ought to acknowledge JSON for demand payload and furthermore send reactions to JSON. JSON is the norm for moving information. Pretty much every organized innovation can utilize it. JavaScript has inherent strategies to encode and decipher JSON either through the Fetch API or another HTTP customer. Server-side advancements have libraries that can decipher JSON without accomplishing a lot of work.

There are alternate approaches to move data. XML isn’t broadly upheld by systems without changing the information ourselves to something that can be utilized, and that is generally JSON. We can’t control this information as effectively on the customer side, particularly in browsers. It winds up being a great deal of additional work just to do ordinary data transfer.

Structure data is useful for sending information, particularly in the event that we need to send documents. However, for text and numbers, we needn’t bother with form data to move those since—with most systems—we can move JSON by getting the information from it straightforwardly on the customer side. It’s by a long shot the clearest to do as such.

To ensure that when our application reacts with JSON that customers decipher it, all things considered, we should set Content-Type in the response header to application/JSON after the solicitation is made. Numerous server-side application systems set the reaction header consequently. Some HTTP customers take a gander at the Content-Type reaction header and parse the information as indicated by that format. The main exemption is in case we’re attempting to send and get records among customers and servers. At that point, we need to deal with file responses and send form data from the customer to the server.

We ought to likewise ensure that our endpoints return JSON as a reaction. Numerous server-side structures have this as an implicit component.

We should investigate a model API that acknowledges JSON payloads. This model will utilize the Express back end system for Node.js. We can utilize the body-parser middleware to parse the JSON request body, and afterward, we can call the res.json technique with the object that we need to return as the JSON reaction as follows:

Use nouns in Rest API endpoint paths

We shouldn’t utilize verbs in our endpoint ways. All things being equal, we should utilize the nouns which represent the element that the endpoint that we’re recovering or controlling as the pathname. This is on the grounds that our HTTP request strategy as of now has the verb. Having verbs in our API endpoint paths isn’t valuable and it makes it superfluous since a long time ago it doesn’t pass on any new data.

The picked verbs could change by the developer’s impulse. For example, some like ‘get’ and some like ‘retrieve’, so it’s simply better to let the HTTP GET verb to mention to us what an endpoint does. The activity should be demonstrated by the HTTP request method that we’re making. The most widely recognized techniques incorporate GET, POST, PUT, and DELETE.

GET recovers resources. POST submits new information on the server. PUT updates existing information. DELETE eliminates information. The verbs guide to the CRUD tasks.

With the two standards we talked about above as a top priority, we ought to take courses like GET/articles/for getting news articles. Moreover, POST/articles/is for adding another article, PUT/articles/:id is for updating the article with the given id. DELETE/articles/:id is for erasing a current article with the given ID.

/articles represent a resource. For example, we can utilize Express to add the accompanying endpoints for control articles as follows:

REST API name collections 

We should name assortments with plural things. Rarely we just need to get a solitary thing, so we should be reliable with our naming, we should utilize plural nouns. We use plurals to be steady with what’s in our databases. Tables for the most part have more than one entry and are named to mirror that, so to be reliable with them, we should utilize similar language as the table the API accesses.

With the/articles endpoint, we have the plural structure for all endpoints, so we don’t need to transform it to be plural.

REST API resources for hierarchical objects

The path of the endpoints that manage resources should be finished by attaching the resources as the name of the way that comes after the parent asset. We need to ensure that it ensures what we considered a nested resource matches what we have in our database tables. Else, it’ll be befuddling.

For example, in the event that we need an endpoint to get the remarks for a news story, we ought to attach the/remarks way to the furthest limit of the/articles way. This is expecting that we have remarked as an offspring of an article in our database.

Handle errors and return error codes

To wipe out disarray for API clients when a blunder happens, we should deal with mistakes nimbly and return HTTP reaction codes that demonstrate what sort of blunder happened. This gives maintainers of the API enough data to comprehend the difficulty that is happened. We don’t need mistakes to cut down our framework, so we can leave them unhandled, which implies that the API shopper needs to deal with them.

Common error HTTP status codes include:

  • 400 Bad Request – This implies that customer side input fails validation.
  • 401 Unauthorized – This implies the client isn’t not approved to get to a resource. It typically returns when the client isn’t verified.
  • 403 Forbidden – This implies the client is authenticated, however, it’s not permitted to get to a resource.
  • 404 Not Found – This demonstrates that an resources isn’t found.
  • 500 Internal server error – This is a nonexclusive server error. It likely shouldn’t be tossed unequivocally.
  • 502 Bad Gateway – This demonstrates an invalid reaction that something happened on the server side.
  • 503 Service Unavailable – This demonstrates that something startling occurred on server side.

We should toss errors that relate to the issue that our application has experienced. Error codes need to have messages went with them so the maintainers have enough data to investigate the issue, however, aggressors can’t utilize the blunder substance to convey our assaults like taking data or cutting down the framework.

At whatever point our API doesn’t effectively finish, we ought to flop effortlessly by sending an error with data to assist clients with making restorative activity.

Filtering, sorting, and pagination

The databases behind a REST API can get exceptionally huge. In some cases, there’s so much data that it shouldn’t be restored at the same time. Since it’s excessively moderate or will cut down our frameworks. Subsequently, we need approaches to channel things.

We likewise need approaches to paginate data with the goal that we just return a couple of results all at once. We would prefer not to tie up resources for a really long time by attempting to get all the mentioned information at once.

Filtering and pagination both increment execution by diminishing the utilization of the server resources. As more information gathers in the database, the more significant these highlights become.

Good Security Practices when using REST API

Most correspondence between client and server should be private since we frequently send and get private data. Hence, utilizing SSL/TLS for security is an absolute necessity. An SSL certificate isn’t too hard to even think about loading onto a server and the expense is free or exceptionally low. There’s no motivation not to cause our REST APIs to convey over secure diverts rather than in the open.

Individuals shouldn’t have the option to get more data than they requested. For instance, a typical client shouldn’t have the option to get to the data of another client. They additionally shouldn’t have the option to get to the information of the admin.

To implement the guideline of least advantage, we need to add role checks either for a solitary role or have more granular parts for every client. If we decide to bunch clients into a couple of roles, at that point the role ought to have the authorizations that cover all they require and no more.

In the event that we have more granular authorizations for each component that clients approach, at that point we need to ensure that administrators can add and eliminate those highlights from every client in like manner. Additionally, we need to add some preset roles that can be applied to a group of clients so we don’t need to do that for each client physically.

Cache data

We can add cache to return information from the local memory store as opposed to questioning the database to get the information each time we need to recover data that clients demand. The beneficial thing about caching is that clients can get information quicker. Notwithstanding, the data that clients get might be obsolete. This may likewise prompt issues while investigating underway conditions when something turns out badly as we continue seeing old data.

Rest Api’s versioning

We ought to have various renditions of API in case we’re rolling out any improvements to them that may break customers. The forming should be possible as per semantic rendition (for instance, 2.0.6 to demonstrate significant adaptation 2 and the 6th fix) like most applications do these days.

Like this, we can slowly eliminate old endpoints as opposed to driving everybody to move to the new API simultaneously. The v1 endpoint can remain dynamic for individuals who would prefer not to change. While the v2, with its sparkly new highlights, can serve the individuals who are prepared to overhaul.

This is particularly significant if our API is public. We should adopt them so we won’t break third party applications that utilize our APIs.

Note: This article is written by TechLog team and no one is allowed to copy it.