Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Object Pooling

Object Pooling

Scheduled Pinned Locked Moved ASP.NET
csharp
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rajaragothaman
    wrote on last edited by
    #1

    how can v use object pooling concept in our application and wat is need of Object pooling in .net :confused:

    _ 1 Reply Last reply
    0
    • R rajaragothaman

      how can v use object pooling concept in our application and wat is need of Object pooling in .net :confused:

      _ Offline
      _ Offline
      _AK_
      wrote on last edited by
      #2

      You can have a look at this article to make that concept clear: http://www.codeproject.com/csharp/ObjectPooling.asp[^]

      Best Regards, Apurva Kaushal

      R 1 Reply Last reply
      0
      • _ _AK_

        You can have a look at this article to make that concept clear: http://www.codeproject.com/csharp/ObjectPooling.asp[^]

        Best Regards, Apurva Kaushal

        R Offline
        R Offline
        rajaragothaman
        wrote on last edited by
        #3

        k tanx but can u explain little more abt object pooling Regards Raja:~

        _ 1 Reply Last reply
        0
        • R rajaragothaman

          k tanx but can u explain little more abt object pooling Regards Raja:~

          _ Offline
          _ Offline
          _AK_
          wrote on last edited by
          #4

          an object pool is a set of initialised objects that are kept ready to use, rather than allocated and destroyed on demand. A client of the pool will request an object from the pool and perform operations on the returned object. When the client has finished with an object, it returns it to the pool, rather than destroying it. Object pooling can offer a significant performance boost; it is most effective in situations where the cost of initializing a class instance is high, the rate of instantiation of a class is high, and the number of instantiations in use at any one time is low. Source google. :)

          Best Regards, Apurva Kaushal

          A 1 Reply Last reply
          0
          • _ _AK_

            an object pool is a set of initialised objects that are kept ready to use, rather than allocated and destroyed on demand. A client of the pool will request an object from the pool and perform operations on the returned object. When the client has finished with an object, it returns it to the pool, rather than destroying it. Object pooling can offer a significant performance boost; it is most effective in situations where the cost of initializing a class instance is high, the rate of instantiation of a class is high, and the number of instantiations in use at any one time is low. Source google. :)

            Best Regards, Apurva Kaushal

            A Offline
            A Offline
            Amit Kumar G
            wrote on last edited by
            #5

            Would be nice if you can share any example. I am new to this world. Amit

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups