Monday, June 20, 2016
Improving Data Retrival in Client-Server Architecture
9:32:00 PM
Client/Server Computing:
A
client/Server is one type of a network computing where in the one
powerful workstation servers the request needed by the other system.
Client
Server application development requires hybrid skills that include
database design,transaction processing,communication experience and
also Graphical User interface design.
The Client/Server computing has changed the way in which the computers
are being used today and is a vast area in the computer industry.
The
Client/Server computing is an environment that satisfies that
business need by appropriately allocating the application processing
between the server and the client.
Sometimes
Client/Server processing is also called as peer to peer processing.
The
client/Sever model is also machine independent,It does not depend on
a particular type of machine,it can be implemented on any workstation
or a system.
Client/Server
computing can be a cross platform if it is written in cross platform
language,or it can also be a platform specific.
Computer
Server:
A
computer network server is a powerful computer or the set of
computers that are connected to each other providing
computing,connectivity and the database services and the interfaces
relevant to business needs..They have a database integrated within
them and have advanced configuration,These are used to process the
requests of the Client,and they also play a role in network
management for easy and uniform transmission of data & media
across the network.
The
main function of the server is to respond to the requests of the
client.Apart from this they have several other functionalities,Some
of them are:
1)
The processor speed of Server's are very high,So they can be used for
multitasking,
2)
They are used to provide information or handle many client requests
simultaneously,So they posses a large Random Access Memory
3)They
provide the results to various other network systems and hence they
have large storage capacity.
Computer
Client:
A computer client is a computer or a workstation at the end user's
place that request service from the servers.It interacts with the
user through the user interface and performs application
functions.The client also interacts with the client middle ware using
middle ware API.It receives the response from the server and displays
it to the user if needed.
The main functionalities of the client are:
1)It provides presentation services and the appropriate computing and
connectivity.
2)They are also used for database services ans the interfaces relevant to business need.
Figure shows the overview of Client/Server architecture.
Characterstics
of the Client and the Server:
The
client and server are the logical entities that work together over
the network to accomplish a particular task.
Some of the characteristics of the Client/Server systems are:
1) Client server computing uses local processing power,the power of
desktop platform.This changes the normal way of distributing and
accessing the data.With this approach data is no longer under the
control of others it is readily available to middle rank personnel and
staff.
2) Client/Server computing is open systems ,means the user will be
able to configure the systems,both software and hardware according to
a particular standard.In this way the company can use their system for
a particular situation and can alter it the most effective way.
3) All of the hardware and software components are actually modular
in nature.This modularity allows the system to expand and modernize
to meet the working requirements.
4) This type of computational model reduces the price of hardware and
software needed for computing and also use these resources in an
efficient way.
5) The Client/Server architecture is typically heterogeneous and are
made of hardware and software from multi vendors,The biggest
challenge is to put together all these complex system of hardware and
software from multi vendors and successfully implement it.
6) A server can service many clients at the same time and regulate
their access to the shared resources.
7) Client/Server systems can be scaled horizontally or
vertically.Horizontal scaling refers to the adding or removal of the
client workstation with only a slight change in performance.Vertical
scaling means migrating to a larger or faster server machine and
distributing the processing load across multiple servers.
Merits
of Client/Server computation:
1) Faster
Data sharing:
Client/Server architecture are used for faster and enhanced data
sharing among different systems.The Structure Query Language is used
to define ans manipulate the data and provides open access from all
client processes and software.
2) Sharing
resources among various platforms:As
the client/Server model is machine independent and also works on
cross platforms,The data sharing among the client and server becomes
easy.
3) Integrated
Services:
In the Client/Server model,all the information of the client is available with at the desktop .There is no need to change into
terminal mode or log into another processor to access information.
Demerits
of Client/Server Computation:
1) Traffic congestion:As the number of client requests increase
the server has to process all the information's of the client and
hence the server may get overloaded to increased number of requests.
2) Server
Failure:Server is considered as the backbone in the Client/Server
architecture and any fault within the server would seize the whole
computational model and the requests by the clients cannot be
fulfilled.Thus Client.Server Lacks Robustness.
3) Due
to the increase in number of request from the client the process of
data retrieval within the server may degrade,which results in the
delayed service of the client's request.
Here we would consider one disadvantage of the Client/Server
computation,which is the process of Data retrieval within the server
and introduce the measures for the Speeding up of Data retrieval.
METHODS:
The speed of data retrieval can be done by managing the number of
rows fetched during progressive fetching,controlling the size of the
data being fetched and by using delay memo fetching
UseMemoSize viewing property can also be used to return character
fields as memo fields and then by switching off the FetchMemo off to
enable the application to fetch only the selective data,which
increases the speed of data retrieval.
Progressive
Fetching:
When ever a data is fetched from a remote source usually the entire
row of data is fetched from the server and is returned to the
client,To overcome this progressive fetching technique is used which
employs the data fetching using view cursors and cursors created
asynchronously with SQL pass-through.When ever data is fetched using
this technique only a small subset of the result set of rows is
fetched,the size of this subset is 100 rows by default.
By this technique the local cursor contains increasingly more of the
queried data.Since rows are retrieved at different times from the data
source,the information in the row isnt automatically current.If the
connection in the server operating system is asynchronous
mode,progressive fetching technique returns control to the program as
soon as it fetches the first subset of data.During the idle time it
performs a background fetch of the remaining rows in queried data,one
subset at a time,into the local cursor.This scenario allows you to
use the already fetched data in the cursor without having to wait for
the rest of the data.
Progressive fetching in Windows system can be implemented using the
Visual Fox Pro where in only a selected data can be retrived from the
data stored in the server which can be used to service the client
requests.
Fetchind
Data on Demand:
The progressive fetching can be disabled to fetch data in subsets
and instead of it only the row needed can be fetched on an as-needed
basis by the FetchAsNeeded database and view cursor property at the
server side.This results in more efficient data retrival for remote
views or views related to extremely large result sets.
The FetchAsNeeded property is disabled by default in most of the
systems,which means the progressive fetching technique is
enabled.When the server is set to FetchAsNeeded rows are fetched only
when they are needed. Whenver the FetchAsNeeded property is set to
true,you cannot perform an update until the user either complete the
fetch,calling the SQLCANCEL() function on the current handle and then
closing the view.
A real time view of the FetchAsNeeded can be visualized,when the
user opens a brower and scrolls down,The status bar will be updated
with the number of rows retrived as you move through the browse
window.
Control
Cursor Fetching:
If the entire cursor wants to be fetched then the server can issue
GOTO BOTTOM command,or any command requiring access to the entire
set.
The server on itself does not provide idle loop processing.To fetch
view cursor programatically,we can use the GonRecordNumber or GOTO
BOTTOM commands.To fetch cursors created with SQL-pass through in
asynchronous mode,call the SQL pass-through asynchronous function
once for each row subset.
Controlling
Fetch Size:
The fetching of data at the server can be controlled to only a set
of rows based on the client request by setting the Fetch Size property
on the user view.The Fetch Size property specifies how many records
are fetched into the local cursor from the remote server at one time.
To control the number of records fetched at once time
1) Set the Fetch Size property with DBSETPROP() function to set the
view definitions fetch size
OR
2) Set the Fetch Size property with the CURSORSETPROP() function to
set the active view cursor's fetch size.
Delayed
Memo Fetching:
The delay Memo Fetching is used to speed up the data retrieval Delayed Memo fetching the Delay and the Memo fields are not fetched
automatically at the client's request instead only the row
corresponding to the requested data will be fetched and the Memo and
General fields are fetched only when the users specifies them,this
helps in faster data retrieval.
As a real time example suppose that the form that is requested by
the client has some data along with an image and only the data has to
be fetched from the form,by using the Delayed Memo Fetching only the
data could be fetched and the image can be viewed/downloaded only
when the user presses the preview button to avoid unwanted data
retrieval.
To control the delay memo fetch the server can be used with
Fetch Memo property on the view or cursor,the Fetch Memo property is
used to specifies whether the memo has to be downloaded along with
the data.By default the Fetch Memo is enabled so that the memo's are
downloaded and user can disable it based on the data to be retrieved.
Optimizing
the Fetching Performance:
Finally after seeing some of the methods in improving the data
retrieval the Client/Server Computation model,the data fetching speed
cannot be increased to a greater extent.Some of the methods to
optimize the fetching performance are:
1) The packet size to be fetched has to be larger (4k to 12k),The
higher the value of this containing more data and rows,the rows will
be fetched faster.
2) Use of the synchronous connections will speed up the fetching
process by 50%.
3) In the view,the Fetch Size has to be maximum,if the Fetch Size is
reduced it provides better responsiveness while progressive fetching
but slows down the fetch speed.If increased ,it increases the view
fetch performance.
Conclusion:
With the use of the Client/Server technique in contrast of the
normal P2P model,it provides better computational facility and also a
single server would be able to handle various client requests,By
using any one of the above mentioned data retrieval procedures the
request's from the Clients can be easily handled by the Server and
also the speed of retrieval can be increased. This is on the improvement
methods in the Client/Server model which leads to efficient
computing.
References:
1)Speeding up data retrival,Developer Network,Miscrosoft MSDN.
Li-Fi Technology
8:30:00 PM
Li-Fi known as the Light-Fidelity technology is one one of the upcoming new trends in the field of wireless networks and communication.
The term Li-Fi was coined by prof. Harald Hass during the TED Global talk.This technique is a bi-directional,high speed and fully networked wireless communication.This is similar to what we have now the Wi-Fi Technology.
Li-Fi uses optical Wireless communication for seamless fast data transfers and can be a compliment to RF communication or a huge replacement to contexts of data broadcasting.
Existing Wireless Technology and need of the new Li-fi:
In Existing Wireless technology Wi-fi,due to the increase in the internet usage the traffic load increases and Wifi does not cope up with the heavy data.
The disadvantages of Wifi-are
Working of Li-Fi
The function of Li-Fi is simple yet amazing. Just two things are needed:
1) An LED which acts as a light source.
2) A photo detector for capturing light source.
The term Li-Fi was coined by prof. Harald Hass during the TED Global talk.This technique is a bi-directional,high speed and fully networked wireless communication.This is similar to what we have now the Wi-Fi Technology.
Li-Fi uses optical Wireless communication for seamless fast data transfers and can be a compliment to RF communication or a huge replacement to contexts of data broadcasting.
Existing Wireless Technology and need of the new Li-fi:
In Existing Wireless technology Wi-fi,due to the increase in the internet usage the traffic load increases and Wifi does not cope up with the heavy data.
The disadvantages of Wifi-are
- It covers only a small distance.
- More traffic slow speed.
- Its Costly.
To Overcome these disadvantages Li-Fi technology was introduced which has the following advantages
- Capacity.
- Efficiency.
- Availability.
- Security.
- Covers large areas.
- It had high traffic handling capability.
- Its cheaper than the Wi-Fi technology.
How the Data is transmitted in Li-Fi
The data in Li-Fi is transmitted through LED's (Light Emitting Diode's) which changes its intensity faster than human eyes and the intensity is captures by a detector.The estimated data transfer speed in 10GBps.
The function of Li-Fi is simple yet amazing. Just two things are needed:
1) An LED which acts as a light source.
2) A photo detector for capturing light source.
When light source starts to emit light,the light sensor on the other end will detect it and records a binary 1 on success and 0 on failure.LED flashes certain time and builds up a message. Light
censor detects the light flashing of light and receives the
message.
Image courtesy:Dzone.com
Advantages of Li-Fi:
- Radio Waves generated by Wi-Fi are harmful for human beings as they might penetrate through the body.Li-fi does not cause these effects as its just a source of light.
- It Works under water ,so it is beneficial in many fields.
- It had tremendous data transfer rates.
- It is very secure since the signal cannot penetrate through walls.
Dis-Advantages of Li-Fi:
- Since the light cannot penetrate through walls the user needs to install separate LED's in every place he needs to access the data.
- Only works if there is direct line of sight between source and receiver.
Applications of Li-Fi:
- Underwater Communications: Since radio waves cannot be used under water because these waves are strongly absorbed by sea water within feet of their transmission and this renders it unusable underwater but LI-Fi is suitable for underwater communication.
- Safety and management: It can be used to update all the traffic loads at every instant and hence maintain traffic.
- Security: The Li-Fi technology is very secure as it cannot penetrate through walls.
- Health Sector: Since Wi-Fi cannot be used in hospitals and other health care units,Li-Fi replaces it most of the health sectors for communication.
- Internet Everywhere: Since it requires just an LED for the data transfer even it can be implemented in street lights,roads,malls etc.
References:
1) A new era of Wireless Communication Data Sharing by Birender Singh Rawat, Brijesh Aggarwal, Dishant Passi.
2) Jyoti Rani, Prerna Chauhan, Ritika Tripathi, “Li-Fi (Light
Fidelity)-The future technology In Wireless
communication”, International Journal of Applied
Engineering Research, vol. 7 No.11, 2012,ISSN 0973-
4562.
Saturday, August 29, 2015
Cyanogen OS 12.1 features
9:09:00 PM
Cyanogen the brand the producing OS for android has now come up with a update to its Cyanogen 12 OS ,Cyanogen 12.1.This OS is based on the latest version of android 5.1 and includes all the features of Google Android 5.1.
The company started rooling out updates for the OnePlus One Smartphone and the update is scheduled for the YU Yureka ,Yu Yuphoria and Andromax Q phones in the upcoming days as each device goes through approval and certification process.
Whats new in CM 12.1?
The company started rooling out updates for the OnePlus One Smartphone and the update is scheduled for the YU Yureka ,Yu Yuphoria and Andromax Q phones in the upcoming days as each device goes through approval and certification process.
Whats new in CM 12.1?
- Smarter Screen: Live Display automatically adjusts the screen display based on the environmental conditions.With the new live display option your phone automatically adjusts to the environmental conditions like night and bright sun and the brightness is automatically adjusted.
- Calender Integration with Email: With the new calender integration with the boxer email app.It creates a seamless experience between the email apps and calender.Various emails like gmail or yahoo can be linked with the boxer app.The coolest option available is you can even schedule meeting using the same email app
- The new Cyanogen Browser: Cyanogen has come up with a new web browser that is fast and also adds extra security for browsing.It also provides a lightweight and secure experience.
- Performance: 1.21x better than chrome in top priority benchmarks.
- Speed: 1.69x faster page loading than chrome.
- Power Efficient: 1.2x better in power efficiency.
- Less Memory Used: Low runtime memory usage.
- Security: Saved passwords for webbrowers are highly encrypted.
- Launcher design Improvements: Now users of Cyanogen can change the UI of the launcher .Launcher provides either vertical mode or horizontal paged mode also.
- New AudioFX User Interface:Cyanogen has provided a neat and clean UI for the AudioFx with is consistent for all its devices.
So get ready to folks Update/Flash you phones with latest CM12.1 and enjoy the features.
Friday, August 14, 2015
SOLUTION FOR PROXIMITY SENSOR ISSUE ON YU DEVICES!!!
7:40:00 AM
YU devices are known for its aggressive pricing .the yu yureka,yu yuphoria and yu yureka plus.all the devices are aggressively priced.but all these device face a common issue the proximity sensor issue i.e,screen blacking out during calls.there is a solution for this problem the proximity sensor can be caliberated by typing *#*#7769#*#* in the phone dialer.hope this post has solved the proximity sensor issues on your devices.
watch the video below for the solution:
Thursday, August 6, 2015
CYANOGEN OS 12.1 BETA TESTING HAS STARTED FOR YU DEVICES
9:10:00 AM
cyanogen os is known for providing regular updates to their devices.cyanogen is popular for its customization software. Cyanogen team works on stock android and adds a lot of customisation to the original software. Cyanogen os is user friendly and is one of the most popular smartphone os .the cyanogen is was first officially introduced by one plus one. Later it was introduced by YU televentures in India. Cyanogen has grown over the last couple of years and cyanogen is keeping its standards high by providing regular uodates to it's customers.currently the cyanogen os 12.1 is the beta testing stages for YU devices.YU televentures have launched 3 devices namely YU yureka ,YU yuphoria and YU yureka plus.all the three devices are likely to get cyanogen is 12.1 this Month.
Sunday, August 2, 2015
MOTOROLA MOTO G 3RD GENERATION
9:16:00 AM
MOTOROLA launches the successor of the moto g 2nd generation.the moto g 3rd generation.moto g 3rd generation is one of the most awaited upgrade to the moto series.the motorola moto g 3rd generation is the most awaited phone of the year and was released on 27th of july 2015.the moto g3 is the first phone with ip 67 rating at a price of rs 12999 inr .the moto g3 is a worthy upgrade to the moto g2 since a lot of hardware has been upgraded.the moto g3 is available in two variants 1.moto g3 with 1gb ram and 8gb rom priced at rs 11999 2.moto g3 with 2gb ram and 16gb rom priced at rs 12999.the moto g3 is powered by snapdragon 410 processor clocked at 1.4ghz.the moto g3 is provided with 13mp primary and 5mp secondary camera.its runs stock android and is one of the best budget phones available in the market considering the specs it offers.the gadget reviewers are pretty much impressed with the moto g3.so,we think that the moto g 3rd generation is a worthy upgrade over the previous generation moto g.
LINK FOR BUYING THE MOTOROLA MOTO G 3RD GENERATION IS PROVIDED BELOW:
1.MOTO G 3RD GENERATION(1GB RAM AND 8GB ROM)
A.BLACK
B.WHITE
2.MOTO G 3RD GENERATION(2GB RAM AND 16GB ROM)
A.BLACK
B.WHITE
WATCH THE UNBOXING OF THE MOTOROLA MOTO G 3RD GENERATION BELOW:
WATCH THE INITIAL IMPRESSIONS OF THE MOTOROLA MOTO G 3RD GENERATION BELOW:
SCRIPT TO BUY YU YUREKA PLUS
3:12:00 AM
YU yureka plus is one of the most aggressively priced phones in the current indian smartphone market.the companies have started adopting the flash sales techniques which makes it harder for the consumers to get their hands on this aggressively priced phones.yu yureka plus is one of the best phones in the sub 10000 range.its been a week since the launch of the new yu yureka plus last week everyone are trying to get hands on this device.if you guys are fed up of these flash sales then here is the solution for all your problems.i have a script to buy yu yureka plus.this script will add the yu yureka plus automatically to your cart
SCRIPT TO BUY YU YUREKA PLUS:
Moondust Grey Color Script
setInterval(function(){ jQuery(".btn").trigger('click'); console.log(' Working... '); },10);
setInterval(function(){ jQuery(".btn:eq(1)").trigger('click'); console.log(' Working... '); },10);
WATCH THE VIDEO BELOW TO KNOW HOW TO APPLY THE SCRIPT:
Subscribe to:
Posts (Atom)