Question:- Explain how you can get the current time in Nginx?
Answer:- To get the current time in Nginx, you have to use variables from SSI module, $date_gmt and $date_local. Proxy_set_header THE-TIME $date_gmt;
Question:- Explain what is the purpose of –s with Nginx Server?
Answer:- To run the executable file of Nginx –s parameter is used.
Question:- Explain how to add modules in Nginx Server?
Answer:- During the compilation process, Nginx modules must be selected as such run-time selection of modules is not supported by Nginx.
Question:- What is Redis?
Answer:- Redis is an advanced key-value data store and cache. It has is also referred to as a data structure server as such the keys not only contains strings, but also hashes, sets, lists, and sorted sets. Companies using Redis includes StackOverflow, Twitter, Github, etc.
Question:- Explain the Replication feature of Redis?
Answer:- Redis supports simple master to slave replication. When a relationship is established, data from the master is transferred to the slave. Once this is done, all changes to the master
Question:- What are the advantages of using Redis?
Answer:- Advantage of using Redis are • It provides high speed • It supports a server-side locking • It has got lots of client lib • It has got command level Atomic Operation (tx operation)
Question:- What are the limitations of Redis?
Answer:- • It is single threaded • It has got limited client support for consistent hashing • It has significant overhead for persistence • It is not deployed widely
Question:- List out the operation keys of Redis?
Answer:- Operation keys of Redis include • TYPE key • TTL key • KEYS pattern • EXPIRE key seconds • EXPIREAT key timestamp • EXISTS key • DEL key
Question:- Which PHP module can be used with Redis?
Answer:- In PHP module, PRedis is more preferable than Redid PHP binding or Resident
Question:- Does Redis give speed and durability both?
Answer:- No, Redis purposely compromises the durability to enhance the speed. In Redis, in the event of system failure or crash, Redis writes to disk but may fall behind and lose the data which is not stored.
Question:- How can you improve the durability in Redis?
Answer:- To improve the durability of Redis “append only file” can be configured by using fsync data on disk. Fsync () every time a new command is added to the append log file: It is safe but very slow Fysnc() one time every second: It is fast, but you may lose 1 second of data if system fails Never fsync(): It is an unsafe method, and your data is in hand of Operating System
Question:- Mention what are the things you have to take care while using Redis?
Answer:- While using Redis one must take care of • Select a consistent method to name and prefix your keys. Manage your namespace • Create a “Registry” of key prefixes that maps each of your internal documents for that application which “own” them • For every class you put through into your Redis infrastructure: design, implement and test the mechanisms for garbage collection or data migration to archival storage • Design, implement and test a sharding library before you have invested much into your application deployment and make sure that you keep a registry of “shards “replicated on each server • Separate all your K/V store and related operations into your own library/API or service
Question:- Explain what is Microsoft visio?
Answer:- Microsoft vision is a diagramming tool designed by Microsoft in order to help create pictures out of complex information. Business flow charts, network diagrams, organization charts, etc. can be easily formed with the help of Micro-soft Visio.
Question:- Explain how you can edit a master shape in Microsoft Visio?
Answer:- • Copy the master shape to a custom stencil, for example, document stencil or a new stencil • In your custom stencil, right click the master shape and click Edit Master -> Edit Master Shape. A new window will open with the shape ready for edit • Edit the custom stencil, by using various data tools like Shape Styles on Home tab or Shape Design on Developer tab • When you are done close the window. Click Yes to save the changes
